package com.tlgen.mapper;

import com.tlgen.model.Registry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface RegistryMapper {

    Long getTotal(@Param("re") Registry registry);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Registry registry);

    int updateByPrimaryKeySelective(Registry registry);

    List<Registry> getRegistryByPage(@Param("page") Integer page, @Param("size") Integer size, @Param("re") Registry registry);

    Registry getRegistryById(Integer id);

}
